package com.paul.sys.service;
import com.paul.sys.model.Ptstaff;
import com.paul.sys.tools.PageData;

import java.util.List;
import java.util.Map;

public interface PtstaffService {



    public PageData<Ptstaff> listByPage(Map<String, String> param) ;
    public PageData<Map> listRoleByUserByPage(Map user, Map<String, String> param) ;

    public  Ptstaff selectByPrimaryKey(String unid);
    public  Ptstaff selectByCodeAndPass(Map<String, String> param);
    public  int updateByPrimaryKey(Ptstaff record);
    public  int updatePwd(Ptstaff record);
    public  int deleteByPrimaryKey(String unid);
    public int insertSelective(Ptstaff record);
    public List<Ptstaff> listAll(Map<String, String> param);
    public int deleteByUnids(String[] unids);
    public int linkRole(Map<String, Object> param);
    public int unlinkRole(Map<String, Object> param);
    public Map<String,String> getUnid();
}
